<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 89 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */
 .style89p367{position:absolute;left:223px;top:443px}

 /* Position Styles */
 .ts89p0{position:absolute;left:106px;top:97px;}
 .ts89p1{position:absolute;left:352px;top:97px;}
 .ts89p3{position:absolute;left:672px;top:97px;}
 .ts89p7{position:absolute;left:106px;top:113px;}
 .ts89p8{position:absolute;left:706px;top:1026px;}
 .ts89p9{position:absolute;left:331px;top:1044px;}
 .ts89p13{position:absolute;left:384px;top:145px;}
 .ts89p15{position:absolute;left:322px;top:163px;}
 .ts89p17{position:absolute;left:161px;top:183px;}
 .ts89p19{position:absolute;left:282px;top:183px;}
 .ts89p20{position:absolute;left:282px;top:201px;}
 .ts89p22{position:absolute;left:161px;top:223px;}
 .ts89p24{position:absolute;left:282px;top:223px;}
 .ts89p26{position:absolute;left:282px;top:241px;}
 .ts89p28{position:absolute;left:106px;top:259px;}
 .ts89p29{position:absolute;left:106px;top:278px;}
 .ts89p31{position:absolute;left:106px;top:315px;}
 .ts89p32{position:absolute;left:106px;top:333px;}
 .ts89p34{position:absolute;left:106px;top:351px;}
 .ts89p35{position:absolute;left:106px;top:370px;}
 .ts89p36{position:absolute;left:106px;top:388px;}
 .ts89p38{position:absolute;left:106px;top:407px;}
 .ts89p39{position:absolute;left:380px;top:424px;}
 .ts89p41{position:absolute;left:613px;top:657px;}
 .ts89p42{position:absolute;left:106px;top:673px;}
 .ts89p43{position:absolute;left:106px;top:692px;}
 .ts89p44{position:absolute;left:106px;top:710px;}
 .ts89p46{position:absolute;left:106px;top:729px;}
 .ts89p47{position:absolute;left:106px;top:748px;}
 .ts89p49{position:absolute;left:106px;top:766px;}
 .ts89p51{position:absolute;left:106px;top:784px;}
 .ts89p52{position:absolute;left:106px;top:802px;}
 .ts89p55{position:absolute;left:106px;top:820px;}
 .ts89p57{position:absolute;left:106px;top:839px;}
 .ts89p59{position:absolute;left:106px;top:857px;}
 .ts89p61{position:absolute;left:106px;top:875px;}
 .ts89p63{position:absolute;left:106px;top:893px;}
 .ts89p64{position:absolute;left:106px;top:912px;}
 .ts89p66{position:absolute;left:106px;top:930px;}
 .ts89p67{position:absolute;left:106px;top:949px;}
 .ts89p69{position:absolute;left:106px;top:968px;}
 .ts89p71{position:absolute;left:106px;top:986px;}

 /* Font Styles */
 .ft0p89{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p89{font-weight:normal;}
 .ft2p89{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p89{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p89{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p89{font-style:normal;font-weight:bold;font-size:16px;font-family:helvetica,arial,sans-serif;color:#000000;}
 .ft6p89{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft7p89{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft8p89{font-style:italic;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft9p89{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground89{position:absolute;left:97px;top:182px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index88.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;89 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index90.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground89><img src="./background89.png" width="641" height="873" border="0" alt=""></div>
<div class=style89p367><img src="./image89_367.png" width="390" height="230" border="0" alt=""></DIV>
<div class=ts89p0><span class="ft0p89"> </span></div>
<div class=ts89p1><span class="ft0p89">Gravitybox Schedule Primer<span class="ft1p89"> </span></span></div>
<div class=ts89p3><span class="ft0p89">Page 87&nbsp; </span></div>
<div class=ts89p7><span class="ft2p89"> </span></div>
<div class=ts89p8><span class="ft3p89"> </span></div>
<div class=ts89p9><span class="ft4p89">1998&#45;2004 Gravitybox Software LLC<span class="ft3p89"> </span></span></div>
<div class=ts89p13><span class="ft5p89">Table 8.2 </span></div>
<div class=ts89p15><span class="ft5p89">Conflict Object Definition </span></div>
<div class=ts89p17><span class="ft6p89">Index </span></div>
<div class=ts89p19><span class="ft6p89">This property is the index in the Conflicts collection of the </span></div>
<div class=ts89p20><span class="ft6p89">current object. </span></div>
<div class=ts89p22><span class="ft6p89">ScheduleItems </span></div>
<div class=ts89p24><span class="ft6p89">This collection holds references to the appointment in this </span></div>
<div class=ts89p26><span class="ft6p89">conflict group. </span></div>
<div class=ts89p28><span class="ft6p89"> </span></div>
<div class=ts89p29><span class="ft7p89">Conflict Displays </span></div>
<div class=ts89p31><span class="ft6p89">Displayed in Figure 8.1 is an example with five appointments. Two of them, the third </span></div>
<div class=ts89p32><span class="ft6p89">and fourth ones, conflict with each other. The ScheduleItems collection will contain five </span></div>
<div class=ts89p34><span class="ft6p89">elements and the Conflicts collection will contain four group objects. Each group object </span></div>
<div class=ts89p35><span class="ft6p89">will contain one appointment in its ScheduleItems collection except for the third group, </span></div>
<div class=ts89p36><span class="ft6p89">which will have two. These are the third and fourth appointments. </span></div>
<div class=ts89p38><span class="ft6p89"> </span></div>
<div class=ts89p39><span class="ft5p89">Figure 8.1 </span></div>
<div class=ts89p41><span class="ft8p89"> </span></div>
<div class=ts89p42><span class="ft6p89"> </span></div>
<div class=ts89p43><span class="ft6p89">In this example, the Count method of the Conflicts collection returns the value 4. </span></div>
<div class=ts89p44><span class="ft6p89">Following is a loop that determines which elements are in the collection. </span></div>
<div class=ts89p46><span class="ft6p89"> </span></div>
<div class=ts89p47><span class="ft9p89">Dim oConflict As CConflictEl </span></div>
<div class=ts89p49><span class="ft9p89">Dim oAppt As CScheduleEl </span></div>
<div class=ts89p51><span class="ft9p89"> </span></div>
<div class=ts89p52><span class="ft9p89">&nbsp; For Each oConflict In Schedule1.Conflicts </span></div>
<div class=ts89p55><span class="ft9p89">&nbsp;&nbsp;&nbsp; For Each oAppt In oConflict.ScheduleItems </span></div>
<div class=ts89p57><span class="ft9p89">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print oAppt.Index </span></div>
<div class=ts89p59><span class="ft9p89">&nbsp;&nbsp;&nbsp; Next </span></div>
<div class=ts89p61><span class="ft9p89">&nbsp; Next<span class="ft6p89"> </span></span></div>
<div class=ts89p63><span class="ft6p89"> </span></div>
<div class=ts89p64><span class="ft6p89">The output from this code fragment is as follows. </span></div>
<div class=ts89p66><span class="ft6p89"> </span></div>
<div class=ts89p67><span class="ft9p89">3 </span></div>
<div class=ts89p69><span class="ft9p89">4<span class="ft6p89"> </span></span></div>
<div class=ts89p71><span class="ft6p89"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
